/**
  ******************************************************************************
  * @file    main.h
  * @author  Application Team
    * @Version V1.0.0
  * @Date    1-April-2019    
  * @brief   Header for main.c file.
  *          This file contains the common defines of the application.
  ******************************************************************************
  */

/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __BASE_TIM_H
#define __BASE_TIM_H

#ifdef __cplusplus
extern "C" {
#endif

/* Includes ------------------------------------------------------------------*/
#include "cx32l003_hal.h"
#include "cx32l003_starterkit.h"

/* Private includes ----------------------------------------------------------*/
#include "io_mapping.h"
#include "log.h"
#include "util.h"
#include <stdbool.h>



/* Exported constants ---------------------------------------------------------*/
#define FREQ                    1000
#define BASETIMx                TIM10
#define BASETIMx_IRQn           TIM10_IRQn


extern BASETIM_HandleTypeDef sBaseTim10Handle ;

/* Exported functions prototypes ---------------------------------------------*/

void HAL_BASE_TIM_10_INIT(void);

/* Private defines -----------------------------------------------------------*/


#ifdef __cplusplus
}
#endif

#endif /* __BASE_TIM_H */

